﻿<div class="messageBox">
    <div class="modal-header">
        <h3>Nouvel album</h3>
    </div>
    <div class="modal-body" >
        <form data-bind="submit: ok,with: album ">
            <div class="form-group">
                <label for="CreateAlbumName">Nom</label>
                <input name="txtName" id="CreateAlbumName" class="form-control" type="text" data-bind="value: Name, valueUpdate: 'afterkeydown'" />
            </div>
            <div class="form-group">
                <label for="CreateAlbumDescription">Description</label>
                <input name="txtDescription" id="CreateAlbumDescription" class="form-control" type="text" data-bind="value: Description, valueUpdate: 'afterkeydown'" />
            </div>
            <div class="checkbox">
                <label>
                    <input type="checkbox" data-bind="checked: IsEnabled"> Enabled
                </label>
            </div>
        </form>
    </div>
    <div class="modal-footer">
        <button class="btn btn-primary" data-bind="click: cancel">Cancel</button>
        <button class="btn btn-primary" data-bind="click: ok">Ok</button>
    </div>
</div>